package com.zg.system.auth.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class OrgVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("组织id")
    private Long id;
    @ApiModelProperty("乐观锁")
    private Integer ver;
    @ApiModelProperty("是否删除")
    private Boolean isDel;
    @ApiModelProperty("数据创建者")
    private String createBy;
    @ApiModelProperty("数据更新者")
    private String updateBy;
    @ApiModelProperty("数据创建时间")
    private Timestamp createTime;
    @ApiModelProperty("数据更新时间")
    private Timestamp updateTime;
    @ApiModelProperty("查询字符串")
    private String searchStr;

    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("简称")
    private String shortName;
    @ApiModelProperty("编码")
    private String code;
    @ApiModelProperty("部门类型")
    private String type;
    @ApiModelProperty("层级")
    private Integer layer;
    @ApiModelProperty("备注")
    private String intro;
    @ApiModelProperty("上级编号")
    private Long pid;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("ID链路")
    private String idLink;
    @ApiModelProperty("名称链路")
    private String nameLink;
    @ApiModelProperty("下级部门数量")
    private Long childCount;
}
